package com.atguigu.gulimall.order.to;

import com.atguigu.gulimall.order.entity.OrderEntity;
import com.atguigu.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName OrderCreateTo
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/7/20
 * @Version 1.0
 */
@Data
public class OrderCreateTo {
    private OrderEntity order;
    private List<OrderItemEntity> items;
    //应付金额
    private BigDecimal payPrice;
    //运费
    private BigDecimal fare;
}
